import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './styles/global.css'
import './utils/element.js'
// 导入axios
import axios from 'axios'
import Bread from '../src/components/Broad.vue'

// 导入dayjs
import dayjs from 'dayjs'
// 全局过滤器,格式化时间
// 导入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
// 导入富文本编辑器样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
// 全局注册富文本编辑器组件
Vue.use(VueQuillEditor)
Vue.filter('timer', () => {
  return dayjs().format('YYYY-MM-DD')
})
Vue.component('Bread', Bread)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
